package entity;

import java.util.Date;

/**
 * 用户信息
 */
public class Userinfo {
    private int ucode; //用户编号
    private String uname; //用户名
    private String uid;//--账号
    private String upassword; //密码
    private String uidcard;//身份证
    private String usex;//性别
    private String uPhone; //手机号：允许空
    private String ublack; //黑名单：允许空
    private Date utime; //注册时间：默认当前时间

    public int getUcode() {
        return ucode;
    }

    public void setUcode(int ucode) {
        this.ucode = ucode;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUpassword() {
        return upassword;
    }

    public void setUpassword(String upassword) {
        this.upassword = upassword;
    }

    public String getUidcard() {
        return uidcard;
    }

    public void setUidcard(String uidcard) {
        this.uidcard = uidcard;
    }

    public String getUsex() {
        return usex;
    }

    public void setUsex(String usex) {
        this.usex = usex;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public String getUblack() {
        return ublack;
    }

    public void setUblack(String ublack) {
        this.ublack = ublack;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }
    public  Userinfo(){

    }
    public Userinfo(int ucode, String uname, String uid, String upassword, String uidcard, String usex, String uPhone, String ublack, Date utime) {
        this.ucode = ucode;
        this.uname = uname;
        this.uid = uid;
        this.upassword = upassword;
        this.uidcard = uidcard;
        this.usex = usex;
        this.uPhone = uPhone;
        this.ublack = ublack;
        this.utime = utime;
    }
}
